/*
 * $Id$
 *
 * CONFIDENTIAL AND PROPRIETARY. (c) 2007 Revolution Health Group LLC. All rights reserved. 
 * This source code may not be disclosed to others, used or reproduced without the written permission of Revolution Health Group.
 *
 */
package org.javason.jsonrpc;

import junit.framework.TestCase;

import net.sf.json.JSONNull;
import net.sf.json.JSONObject;

/**
 * @author jdamick
 *
 */
public class TestJsonNull extends TestCase {

	public void testNullFix() {
		Object nullValue = JSONNull.getInstance();

		assertEquals("null", nullValue.toString());
		assertTrue(nullValue.equals(JSONNull.getInstance()));
		assertTrue(nullValue.toString().equals(JSONNull.getInstance().toString()));
		assertTrue(nullValue.equals(null));
	}
}
